package com.bishe.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * (PersonnelInfo)表实体类
 *
 * @author makejava
 * @since 2024-03-04 14:00:14
 */
@Data
@ApiModel("人员信息")
@TableName("personnel_info")
@EqualsAndHashCode(callSuper = false)
public class PersonnelInfo extends Model<PersonnelInfo> {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    private String name;

    private String sex;

    private Integer age;

    private String idCard;

    private String phone;
    //监护人名称
    @ApiModelProperty("监护人名称")
    private String guardianName;
    //监护人关系
    @ApiModelProperty("监护人关系")
    private String guardianFee;
    //监护人联系方式
    @ApiModelProperty("监护人联系方式")
    private String guardianPhone;
    //教育背景
    @ApiModelProperty("教育背景")
    private String edBackground;
    //就业情况
    @ApiModelProperty("就业情况")
    private String workSituation;
    //社会关系
    @ApiModelProperty("社会关系")
    private String socialRelations;
    //案件编号
    @ApiModelProperty("案件编号")
    private String caseNumber;
    //案件受理时间
    @ApiModelProperty("案件受理时间")
    private Date caseAcceptanceTime;
    //案件结案时间
    @ApiModelProperty("案件结案时间")
    private Date caseClosureTime;
    //案件类别
    @ApiModelProperty("案件类别")
    private String caseType;
    //情况描述
    @ApiModelProperty("情况描述")
    private String description;
    //精神状态
    @ApiModelProperty("精神状态")
    private String mentality;
    //有无作案前科
    @ApiModelProperty("有无作案前科")
    private String criminalRecord;
    //施暴类型
    @ApiModelProperty("施暴类型")
    private String violenceType;
    //人员类型
    @TableField(exist = false)
    private Boolean personnelType;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;

    private Integer status;
    //关联id
    private String dataId;

    private Boolean type;
}

